home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-05-01 | 365 b | 14 lines | [TEXT/MPS ] |
- (* Boolean operations *)
-
- (* e1 & e2 : conjunction
- e1 or e2 : disjunction.
- Both constructs are sequential, left-to-right: e2 is evaluated only
- if needed. Actually,
- e1 & e2 is equivalent to if e1 then e2 else false
- e1 or e2 is equivalent to if e1 then true else e2.
- *)
-
- value prefix not : bool -> bool = 1 "not"
- (* The boolean negation. *)
- ;;
-